<template>
	<view>
		<headBar title="金币明细"></headBar>
		<view class="xmain">
      <view class="mytab">
        <view class="uni-panel-c" v-for="item in coinList">
          <view class="uni-navigate-item">
            <text class="uni-navigate-text">{{ item.remark }}</text>
            <text class="uni-navigate-icon" style="color: #fa6a09;">+{{ item.coins }}</text>
          </view>
        </view>
      </view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				coinList:[],
			}
		},
    onReady: function () {
      this.getCoinsList()
    },
		methods: {
			getCoinsList() {
			  var t = this;
        var coinsList = t.xCacheGet('xCoinsRecord');
        if(coinsList){
          t.coinList = coinsList;
        }
			}
		}
	}
</script>

<style lang="scss">
@import "../my/my.css";
</style>
